﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Name="window" x:Class="SettingsWindow"
    Title="SettingsWindow" Height="238" Width="296">
    <Grid>
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="0.429*"/>
    		<ColumnDefinition Width="0.285*"/>
    		<ColumnDefinition Width="0.286*"/>
    	</Grid.ColumnDefinitions>
    	<Grid.RowDefinitions>
    		<RowDefinition Height="0.12*"/>
    		<RowDefinition Height="0.72*"/>
    		<RowDefinition Height="0.16*"/>
    	</Grid.RowDefinitions>
    	<TextBox Margin="8" Grid.Row="1" TextWrapping="Wrap" Text="{Binding SettingText, ElementName=window}" Grid.ColumnSpan="3"/>
    	<Label Content="发送信息格式：" Margin="8,0"/>
        
    	<Button Content="确定" Margin="2,2,2,8" d:LayoutOverrides="Height" Grid.Column="1" Grid.Row="2" IsDefault="True" Click="ButtonOK_Click"/>
    	<Button Content="取消" Margin="2,2,2,8" Grid.Column="2" Grid.Row="2" d:LayoutOverrides="Height" IsCancel="True" Click="ButtonCancel_Click"/>
        
    </Grid>
</Window>
